package com.igeek.dvd;

import java.math.BigDecimal;

public class User {

    private String username;
    private String password;
    private BigDecimal balance;

    /**
     * 是否为会员：
     *      true -> 是
     *      false -> 否
     */
    private boolean isVip;

    /**
     * 账号的状态：
     *      0 - 启用
     *      1 - 禁用
     */
    private int status;

    /**
     * 标记是否为管理员：
     *      true -> 是
     *      false -> 否
     */
    private boolean isAdmin;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public boolean isVip() {
        return isVip;
    }

    public void setVip(boolean vip) {
        isVip = vip;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public boolean isAdmin() {
        return isAdmin;
    }

    public void setAdmin(boolean admin) {
        isAdmin = admin;
    }
}
